#ifndef _CURSOR_H
#define _CURSOR_H

#define CLEAR() printf("\033[2J")
#define MOVEUP(x) printf("\033[%dA", (x))
#define MOVEDOWN(x) printf("\033[%dB", (x))
#define MOVELEFT(y) printf("\033[%dD", (y))
#define MOVERIGHT(y) printf("\033[%dC", (y))
#define MOVETO(x, y) printf("\033[%d;%dH", (y), (x))
#define RESET_CURSOR() printf("\033[H")
#define HIDE_CURSOR() printf("\033[?251")
#define SHOW_CURSOR() printf("\033[?25h")
#define HIGHT_LIGHT() printf("\033[7m")
#define UN_HIGHT_LIGHT() printf("\033[27m")

#endif
